package pers.course.week1;

import java.util.Scanner;

public class Repeat2 {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int num = s.nextInt();
        String line = s.nextLine();
        String line1 = s.nextLine();
        for (int i = 0; i < num; i++) {
            System.out.println(line1);
        }
    }
}
